home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
emula
/
arosdv19.lha
/
AROS
/
config
/
dummy
/
getcc.
< prev
next >
Wrap
Text File
|
1996-09-12
|
836b
|
49 lines
|*****************************************************************************
|
| NAME
|
| __AROS_LH0(UWORD, GetCC,
|
| LOCATION
| struct ExecBase *, SysBase, 88, Exec)
|
| FUNCTION
| Read the contents of the sr in a easy and compatible way.
|
| INPUTS
|
| RESULT
| The contents of sr as a UWORD.
|
| NOTES
| This function will most likely be implemented by a few instructions
| directly in the jumptable.
|
| EXAMPLE
|
| BUGS
|
| SEE ALSO
| SetSR()
|
| INTERNALS
|
| HISTORY
|
|******************************************************************************
| This function is implemented directly in the jumptable - but it
| doesn't harm to see what it looks like.
| 68000 version
.globl _Exec_GetCC
_Exec_GetCC:
movew sr,d0
rts
| 68010 and up
.globl _Exec_GetCC_01
_Exec_GetCC_01:
movew ccr,d0
rts